package com.ruoyi.web.sso.common.util;

import java.util.List;

public class ComUtil {
    public static String[] getString(String[] id)
    {
        for (int i = 0; i <id.length ; i++) {
            id[i] =id[i].replace("[", "");
            id[i] =id[i].replace("]", "");
        }
        return id;
    }


    public static String getString(String id)
    {
        id =id.replace("[", "");
        id =id.replace("]", "");
        return id;
    }
}
